﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Practices.Unity;
using PicStore.Common.Log;
using PicStore.BLL.Impl;
using PicStore.BLL.Interface;

namespace PicStore.BLL.Register
{
    public class ServiceRegistry
    {
        public static void Register(IUnityContainer container)
        {
            container.RegisterType<IUserService, UserService>();
            container.RegisterType<ICategoryService, CategoryService>();
            container.RegisterType<IPictureService, PictureService>();
            container.RegisterType<IRequestService, RequestService>();
            container.RegisterType<IReportService, ReportService>();
            //container.RegisterType<IAdEffectFunc, AdEffectFunc>();
            //container.RegisterType<ICache, Cache>();
            //container.RegisterType<ILog, Log4Net>();
        }
    }
}
